package org.example.order.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import org.example.order.entity.Admin;

import java.util.List;

public interface AdminService extends IService<Admin> {
    void add(Admin admin);
    void deleteById(Long id);
    void update(Admin admin);
    Admin selectById(Long id);
    List<Admin> selectAll();
    PageInfo<Admin> selectPage(Admin admin, Integer pageNum, Integer pageSize);
}
